<?php
	require "../dao/staff_dao.php";
	
	$tid = $_REQUEST["tid"];
	$flag = delBytid($tid);
	if($flag){
?>
		<script>
			alert('删除成功');
			location.href="../Select/selectTea_infor.php";
		</script>
<?php
	}else{
?>
		<script>
			alert('删除失败');
			location.href="../Select/selectTea_infor.php";
		</script>
<?php
	}
?>